package com.retail.member.client;


import com.retail.core.entity.result.Result;
import com.retail.member.entity.request.OrderStasticListRequest;
import com.retail.member.entity.vo.RetailOrderResVo;
import com.retail.member.entity.vo.RetailOrderStasticResVo;
import com.retail.order.entity.vo.RetailSettleOrderVo;

import java.util.List;

public interface OrderClient {

    /**
     * 得到用户订单
     * @param adminId
     * @return
     */
    Result<List<RetailSettleOrderVo>> findOwnerOrderByAdminId(String adminId);

    Result<List<RetailSettleOrderVo>> myOrderList(OrderStasticListRequest request);

    Result<List<RetailOrderStasticResVo>> findOwnerOrderStastic(Long adminId);

    Result<List<RetailSettleOrderVo>> findOwnerOrderStasticList(Long adminId, Integer orderType, String search);

    Result<RetailOrderResVo> orderDetail(Long orderId);

    
}
